#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author Jmz


from django import template
from django.utils.safestring import mark_safe
register = template.Library()


#{{ num1 | fileter_multi:num2}}
@register.filter
def filter_multi(v1,v2):
    return v1 * v2



def my_input(type, id, tag):
    result = '<input type="%s" id ="%s" name="%s">'%(type,id,tag)
    return mark_safe(result)
